/**
 * Copyright &copy; 2012-2016 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package com.thinkgem.jeesite.modules.acq.dao.plantinfo;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.thinkgem.jeesite.common.persistence.CrudDao;
import com.thinkgem.jeesite.common.persistence.annotation.MyBatisDao;
import com.thinkgem.jeesite.modules.acq.entity.plantinfo.AcqPlantInfo;

/**
 * 种植品信息DAO接口
 * 
 * @author lj
 * @version 2018-04-16
 */
@MyBatisDao
public interface AcqPlantInfoDao extends CrudDao<AcqPlantInfo> {
	public List<Map<String, Object>> plantList(AcqPlantInfo acqPlantInfo);

	public List<AcqPlantInfo> areaPlantList(@Param("area") String area);

	public List<Map<String, Object>> areaPlantData(@Param("area") String area);

	public List<Map<String, Object>> analysisList(@Param("areaId") String areaId);
	
	public Double es(@Param("areaId") String areaId);
	public Double dx(@Param("areaId") String areaId);

	public List<Map<String, Object>> pie(@Param("areaId") String areaId);

	public List<Map<String, Object>> infoline(@Param("areaId") String areaId);

	public String totalArea(@Param("areaId") String areaId);
	
	public List<Map<String,Object>> historySeacher(@Param("id") String id);
	
	public void deleteHistory(@Param("id") String id);
	
	public void updatePlant(AcqPlantInfo acqPlantInfo);
}